#include "StdAfx.h"
#include "Chartconfig.h"


Chartconfig::Chartconfig(void)
{
	nInitWidth = X_SCALE;
	nWidthExtent = 10;

	crDot = RGB(255,0,0);
	crWarning[0] = RGB(0x3b,0x8e,0xcc);
	crWarning[1] = RGB(0x36,0xc9,0x3e);
	crWarning[2] = RGB(0xeb,0xe4,0x50);
	crWarning[3] = RGB(0xff,0x7e,0x00);
	crWarning[4] = RGB(0xff,0x14,0x22);
	crBG = RGB(255,255,255);
	crGuideLine = RGB(128,128,128);
	crAxis = 0;
	crDataLines[0] = RGB(0x00,0x00,0xCC);
	crDataLines[1] = RGB(0x00,0x99,0x00);
	crDataLines[2] = RGB(0xFF,0xB9,0x14);
	crDataLines[3] = RGB(0x66,0x33,0xCC);
	crDataLines[4] = RGB(0xCC,0x33,0x33);
	crDataLines[5] = RGB(0xFF,0x66,0x00);
	crDataLines[6] = RGB(0xC6,0xE2,0xFF);
	crDataLines[7] = RGB(0x66,0xCC,0xFF);
	crDataLines[8] = RGB(0x66,0x33,0x00);
	crDataLines[9] = RGB(0xCC,0x99,0xCC);

	bShowGuideLine = FALSE;
	bShowDataLine = TRUE;
	bAxisYSensitive = TRUE;
	bGraphMoving = FALSE;

	dblAxisYMin = 0;
	dblAxisYMax = 0;

	nMarginTop = 30;
	nMarginLeft = 80;
	nMarginRight = 20;
	nMarginBottom = 40;

	szAxisXNM = "Axis X";
	szAxisYNM = "Axis Y";
	szFormat = "%.1f";

}

Chartconfig::~Chartconfig(void)
{
}
